<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/stuDemo" method="get" autocomplete="off">
        姓名:<input type="text" name="name"/><br/>
        年龄:<input type="number" name="age"/><br/>
        爱好:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="hobby" value="运动"/>运动&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <input type="checkbox" name="hobby" value="唱歌"/>唱歌<br/>
        <button type="submit" >提交</button>
    </form>
</body>
</html>